*{
    margin: 0;
    padding: 0;
}
@mixin tset($color,$bg){
    width: 80px;
    height: 50px;
    margin-left: 20px;
    margin-top: 25px;
    border: 1px solid beige;
    border-radius: 5px;
    color: $color;
    background-color: $bg;
}
.content{
    width: 800px;
    height: 100px;
    margin: 100px auto;
    border: 1px solid;
    .y-btn{  /*默认*/
        @include tset(blank, white);
        &:hover{
            background-color:  rgb(245, 251, 251);
        }
    }
    .y-btn-primary{   /*主要*/
        @include tset(white, rgb(23, 119, 230));
        &:hover{
            background-color: rgb(84, 50, 238);
        }
    }
    .y-btn-success{  /*成功*/
        @include tset(white, rgb(55, 241, 80));
        &:hover{
            background-color: rgb(44, 236, 11);
        }
    }
    .y-btn-warning{ /*警告*/
        @include tset(white,rgb(240, 208, 68));
        &:hover{
            background-color: rgb(236, 232, 16);
        }
    }
    .y-btn-danger{ /*危险*/
        @include tset(white,rgb(75, 236, 236)); 
        &:hover{
            background-color: rgb(7, 248, 236);
        }
    }

}
